package com.tg.data.bean;

import java.util.ArrayList;
import java.util.List;


public class DeviceListResp{

    public int total;

    public List<DeviceListResp.Device> list = new ArrayList<>();

    public int getTotal(){
        return total;
    }

    public List<DeviceListResp.Device> getList(){
        return list;
    }

    public void setTotal(int total){
        this.total = total;
    }

    public void setList(List<Device> list) {
        this.list.clear();
        this.list.addAll(list);
    }

    public DeviceListResp(){

    }


    public static class Device{

        private Long id = 0L;
        private String uuid = "";
        private String name = "";
        private String abilities = "";
        private String password = "";
        private String timeZone = "";
        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public String getUuid() {
            return uuid;
        }

        public void setUuid(String uuid) {
            this.uuid = uuid;
        }

        public String getName() {
            return name;
        }

        public String getTimezone() {
            return timeZone;
        }

        public void setTimeZone(String timeZone) {
            this.timeZone = timeZone;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAbilities() {
            return abilities;
        }

        public void setAbilities(String abilities) {
            this.abilities = abilities;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }
        public Device(){
        }
    }

}
